package com.tinysand.advert;

import org.springframework.boot.Banner;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * Zuul网关服务应用启动入口
 *
 * Created By TINY
 * Create Time 2020/2/14
 **/
@EnableZuulProxy // 开启网关代理
@SpringCloudApplication // 标识为Spring Cloud应用
public class ZuulGatewayApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ZuulGatewayApplication.class)
                .bannerMode(Banner.Mode.OFF).run(args);
    }
}
